Skip to content

Remove never-wired input-gain API; CHANGELOG + 1.2.0 release prep#24

Merged
fan-droide merged 1 commit into
mainfrom
webcomponent
Jun 12, 2026
Merged

Remove never-wired input-gain API; CHANGELOG + 1.2.0 release prep#24
fan-droide merged 1 commit into
mainfrom
webcomponent

Conversation

@fan-droide

Copy link
Copy Markdown
Collaborator

Summary

  • Removes the input-gain attribute and inputGain property from the component, TypeScript declarations, and all docs. They were documented and typed but never wired to a GainNode — setting them had no effect in any released version. Input gain is permanently a host responsibility via the host-gain pattern (docs/examples/host-gain.md). Decision: permanent drop, not deferred to v2.
  • Adds CHANGELOG.md (Keep a Changelog): [Unreleased] entry for the removal — naming both the property/attribute and the observedAttributes change, plus the semver policy note — and backfilled entries for 1.0.0 / 1.0.1 / 1.0.2 / 1.1.0 from git tags. CHANGELOG.md added to package.json files[] (npm does not auto-include changelogs in tarballs).
  • Release-process hardening: Phase 7 per-release checklist in agents/CLAUDE_REVIEW.md rewritten with the ordered flow (changelog stamp + CDN pin bump in a prep commit on main, git push --follow-tags only after npm publish — avoids the Pages-deploy CDN 404 window). SESSION_HANDOFF.md release procedure aligned; stale input-gain guidance superseded with dated markers.
  • Doc accuracy: planned-v2 signal-type removed from the docs/api.md primary example; CLAUDE.md dev-commands block completed (typecheck, demo, build:component:dev, build:component:all).

This PR deliberately does not stamp the changelog to [1.2.0] or bump the CDN pins — those happen in the release prep commit on main after merge, per the Phase 7 checklist.

Verification

  • npm run typecheck
  • npm test ✅ (all pass)
  • npm run build:component:all
  • npm run docs:build
  • npm pack --dry-run ✅ (13 files incl. CHANGELOG.md; rebuilt dist/index.d.ts has no inputGain)
  • Two independent Codex review rounds passed (API-surface consistency, changelog accuracy, release-ordering)

🤖 Generated with Claude Code

…lease docs

- Remove input-gain attribute and inputGain property (never wired to a
  GainNode; gain is permanently a host responsibility via the host-gain
  pattern) from element, types, docs, and agent docs
- Add CHANGELOG.md (Keep a Changelog): [Unreleased] removal entry with
  consumer-impact and semver policy notes; backfill 1.0.0-1.1.0 from tags
- Ship CHANGELOG.md in the npm tarball (files[] — npm does not
  auto-include changelogs)
- Rewrite Phase 7 per-release checklist with ordered release flow
  (push --follow-tags only after npm publish to avoid CDN 404 window);
  align SESSION_HANDOFF release procedure with it
- Drop planned-v2 signal-type from the api.md primary example
- Complete CLAUDE.md dev-commands block (typecheck, demo, build variants)
- Supersession markers for stale input-gain guidance in CLAUDE_REVIEW.md

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@fan-droide
fan-droide merged commit f36c636 into main Jun 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant